//
//  UIButton+Pyw.h
//  pyw_Demo
//
//  Created by smallwave on 16/4/5.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (Pyw)

/**
 *  圆角半径为5的Button
 *
 *  @param backgroundColor    背景颜色
 *  @param titlieColor        标题颜色
 *  @param titleLabelFontSize 标题大小
 *  @param title              按钮标题
 *
 *  @return 圆角半径为5的Button
 */
+ (instancetype)buttonWithBackgroundColor:(UIColor *)backgroundColor
                               titleColor:(UIColor *)titlieColor
                       titleLabelFontSize:(CGFloat)titleLabelFontSize
                                    title:(NSString *)title;
/**
 *  自定义圆角半径的Button
 *
 *  @param backgroundColor    背景颜色
 *  @param cornerRadius       圆角半径
 *  @param titlieColor        标题颜色
 *  @param titleLabelFontSize 标题大小
 *  @param title              按钮标题
 *
 *  @return 自定义圆角半径的Button
 */
+ (instancetype)buttonWithBackgroundColor:(UIColor *)backgroundColor
                             cornerRadius:(CGFloat)cornerRadius
                               titleColor:(UIColor *)titlieColor
                       titleLabelFontSize:(CGFloat)titleLabelFontSize
                                    title:(NSString *)title;

@end
